main {
    margin: auto;
    background: #fff;
    form {
        padding: 40px;
        nz-form-item {
            margin-bottom: 10px;
            p {
                height: 32px;
                line-height: 32px;
                margin-left: 10px;
                color: #8e8e8e;
                font-size: 12px;
                position: absolute;
                left: 15%;
            }
        }
        nz-form-control {
            padding-left: 10px;

            .fileList {
                li {
                    a {
                        font-size: 12px;
                        margin-right: 4px;
                        &.active {
                            color: #52c41a;
                        }
                    }
                }
            }

            .upFile {
                width: 110px;
                height: 32px;
                line-height: 32px;
                font-size: 14px;
                border-radius: 2px;
                border: 1px solid #d9d9d9;
                display: inline-block;
                text-align: center;
                span {
                    display: block;
                }
                input {
                    display: none;
                }
            }

            .fileBtn {
                display: inline-block;
                margin-left: 30px;
            }
        }
        nz-date-picker {
            &:nth-child(2) {
                margin-left: 10px;
            }
        }
        nz-upload {
            margin-left: 10px;
            i {
                margin-top: 3px;
            }
        }
    }

    .products {
        width: 96%;
        height: 47px;
        line-height: 42px;
        margin-top: -1px;
        margin-left: 2%;
        border-top: 0;
        background: #fff;
        border: 1px solid #f0f0f0;
        text-align: center;
        color: #888;
    }

    .submit-box {
        height: 100px;
        position: relative;
        left: 16px;
        .bt-box {
            position: absolute;
            left: 25px;
            bottom: 40px;
            button {
                width: 120px;
            }
        }
    }
}

.purchasePlanApply {
    .bt-box {
        float: left !important;
        // position: absolute;
        // top: 120px;
        p {
            position: relative;
            left: 150px;
            top: -26px;
            font-size: 12px;
            color: #8e8e8e;
        }
    }
    .bt-search {
        float: right !important;
    }

    .search-box {
        .input3-box {
            margin: 0 8px 0 0px;
            display: flex;
            float: right;
            font-size: 12px;
        }
        .input2-box {
            margin: 0 8px 0 0px;
            display: flex;
            float: right;
            font-size: 12px;
            label {
                margin-right: 50px;
            }
        }
        .input1-box {
            margin: 0 8px 0 0px;
            display: flex;
            float: right;
            font-size: 12px;
            label {
                margin-right: 50px;
            }
        }
        .input-box {
            margin: 0 8px 0 0px;
            display: flex;
            float: right;
            font-size: 12px;
            label {
                margin-right: 15px;
            }
        }
    }
    &:after {
        content: " ";
        display: block;
        clear: both;
        height: 0;
        visibility: hidden;
    }
}

.searchHint {
    a {
        margin-left: 10px;
        color: #006eff;
        display: inline-block;
    }
}

:host ::ng-deep .ant-form-item-label > label {
    color: #b7b7b7 !important;
}

// nz-table:nth-child(2) {
//     width: 100%;
//     margin-left: 0%;
//     padding-top: 50px;
// }
h3:nth-child(2) {
    margin-left: 34px;
}
nz-table {
    width: 96%;
    margin-left: 2%;
    padding-top: 10px;
    th {
        height: 38px;
        padding: 0 !important;
        color: #888;
        background: #fff !important;
        font-size: 14px;
    }
    td {
        width: 230px;
        height: 56px;
        padding: 0 !important;
        font-size: 12px;
        &:nth-child(1) {
            width: 100px;
        }
        &:nth-child(3) {
            width: 230px;
        }
        &:nth-child(4) {
            width: 270px;
        }
    }
    &:nth-child(2) {
        width: 100%;
        margin-left: 0%;
        // padding-top: 50px;
    }
}

.pagination-box {
    height: 56px;
    line-height: 56px;
    padding: 0 18px;
    font-size: 12px;
    .pagination-template {
        float: left;
    }
    &:after {
        content: " ";
        display: block;
        clear: both;
        height: 0;
        visibility: hidden;
    }
}

nz-pagination {
    margin-top: 12px;
}

.form-wrap {
    box-sizing: border-box;
    .form-wp {
      color: #333333;
      padding-bottom: 10px;
    }

    .form-ipt {
        width: 100%;
    }
}
